package com.zuxia.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zuxia.dao.IApplyDao;
import com.zuxia.entity.Apply;
import com.zuxia.service.IApplyService;
@Service
@Transactional
public class ApplyService implements IApplyService{
	@Autowired
	private IApplyDao apydao;
	@Override
	public List<Apply> selectApply(int pageNow, String zname) {
		// TODO Auto-generated method stub
		return apydao.selectApply( pageNow,  zname) ;
	}

	@Override
	public int apysize() {
		// TODO Auto-generated method stub
		return apydao.apysize();
	}

	@Override
	public void delapy(Apply apply) {
		// TODO Auto-generated method stub
		apydao.delapy(apply);
	}

	@Override
	public Apply updapy(Apply apply) {
		// TODO Auto-generated method stub
		return apydao.updapy(apply);
	}

	@Override
	public void addapy(Apply apply) {
		// TODO Auto-generated method stub
		apydao.addapy(apply);
	}


}
